<?php
session_start();
	if(isset($_SESSION['login']) && $_SESSION['login']==true){
		$_SESSION['logout']=true;
		header("Location:index.php");
	}
?>